package com.jade.zsy.store.service;


import com.jade.bss.DbException;
import com.jade.bss.db.BaseFacade;
import com.jade.framework.base.util.PagingResult;
import com.jade.zsy.base.entity.Employee;

import java.util.List;


/**
 * 用户Store Dubbo服务接口实现
 * User: Administrator
 * Date: 2016-4-17
 * Time: 11:52
 * Version : 1.0
 * Remark:
 * History:
 */

public interface StoreEmployeeFacade extends BaseFacade {
    /**
     * 获得员工管理的店铺
     * @param
     * @return
     * @throws Exception
     */
    PagingResult getStoreByEmployee(Object obj, int page, int size, String keys, String... orders) throws DbException,IllegalAccessException, InstantiationException;

    /**
     * 查询出商店里面的所有员工
     * @param storeId
     * @return
     */
    public List<Employee> getEmployee(long storeId)throws DbException;
}
